package com.dongdongshop.service;

import com.dongdongshop.model.TbSpecificationOption;
import com.dongdongshop.page.PageParms;
import com.dongdongshop.page.PageResult;
import com.dongdongshop.vo.SpecificationOptionVO;
import com.dongdongshop.vo.SpecificationVO;

import java.util.List;

public interface SpecificationService {
    PageResult<SpecificationVO> selectAll(PageParms<SpecificationVO> parms);

    void addSpec(SpecificationVO specVo, List<SpecificationOptionVO> specOptionList);

    SpecificationVO selectById(Long id);

    void updateSpec(SpecificationVO specVO);

    void delete(Long[] ids);

    void delThis(Long specId);

    List<SpecificationVO> specList();

    List<SpecificationOptionVO> specLOptionist();
}
